<?php
class Rulemanager_Data_Getallrules implements Rulemanager_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "SELECT rule_name, rule_description, id FROM company_rules;";
        return $this->core_controller_selectdata->main($variables);
    }
}
